﻿@model JaxDug.ViewModels.BookViewModel

@{
    ViewBag.Title = "Details";

    var book = Model.Book;
}

<h2>Details</h2>


<fieldset>
    <legend>BookViewModel</legend>

    <div class="display-label">Title</div>
    <div class="display-field">
        @Html.DisplayFor(x=>x.Book.Title)
    </div>

    <div class="display-label">DisplayMessage</div>
    <div class="display-field">
        @Html.DisplayFor(x=>x.Book.Author)
    </div>

    <div class="display-label">Page</div>
    <div class="display-field">
        @Html.DisplayFor(x=>x.Book.Description)
    </div>

    <div class="display-label">PageSize</div>
    <div class="display-field">
        @Html.DisplayFor(x=>x.Book.ISBN)
    </div>

    <div class="display-label">SortDirection</div>
    <div class="display-field">
        @Html.DisplayFor(x=>x.Book.BookCreated)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { /* id=Model.PrimaryKey */ }) |
    @Html.ActionLink("Back to List", "Index")
</p>
